<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/jsp/taglibs-nojs-nocss.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>鼎烜集团  网络办公自动化系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <body>
  
  <script src="<%=basePath%>ext/My97DatePicker/WdatePicker.js"></script>
  
  <div id="pop_up_content">
	<div class="pop_up_title images_13">
		<s:if test="null==id || ''.equal(id)">
			填写转正申请
		</s:if>
		<s:else>
			编辑转正申请
		</s:else>
		
	</div>
	<div class="pop_up_body">
		<form id="editForm" action="becomeRegular/becomeRegularAction!editData.action">
		<input type="hidden" value="<s:property value='objctForm.id'/>" name="objctForm.id"/>
		<table border="0" cellpadding="0" cellspacing="0" width="650px">
			
			<tr>
		    	<td width="150">
		    			<div class="form_input_value" style="margin-right: 8px;">
		    			姓名
		    			</div>
		    		</td>
		    		<td>
		    			<input style="margin: 0px;" id="code" name="objctForm.name" readonly="readonly" type="text" class="dialogy_input3" value='<s:property value="objctForm.name"/>'>
		    		</td>
		    		<td><div class="form_input_value" style="margin-right: 8px;">部门</div></td>
		    		<td>
		    			<input style="margin: 0px;" id="dept" name="objctForm.dept" readonly="readonly" type="text" class="dialogy_input3" value='<s:property value="objctForm.dept"/>'>
		    		</td>
		    	</tr>
		    	<!-- 
		    	<tr>
		    		<td width="150"><div class="form_input_value" style="margin-right: 8px;">籍贯</div></td>
		    		<td>
		    			<input style="margin: 0px;" id="nativeplace" name="objctForm.nativeplace" readonly="readonly" type="text" class="dialogy_input3" value='<s:property value="objctForm.nativeplace"/>'>
		    		</td>
		    		<td width="150"><div class="form_input_value" style="margin-right: 8px;">性别</div></td>
		    		<td>
		    			<input style="margin: 0px;" id="sex" name="objctForm.sex" readonly="readonly" type="text" class="dialogy_input3" value='<s:property value="objctForm.sex"/>'>
		    		</td>
		    		
		    	</tr>
		    	 -->
		    	<tr>
		    		<td><div class="form_input_value" style="margin-right: 8px;">职务</div></td>
		    		<td>
		    			<input style="margin: 0px;" id="office" name="objctForm.office" readonly="readonly" type="text" class="dialogy_input3" value='<s:property value="objctForm.office"/>'>
		    		</td>
		    		<td><div class="form_input_value" style="margin-right: 8px;">入职时间</div></td>
		    		<td>
		    			<input style="margin: 0px;" onclick="WdatePicker();" readonly="readonly" name="objctForm.appointmentDate" type="text" class="dialogy_input3 required" value='<s:property value="objctForm.appointmentDate"/>'>
		    		</td>
		    	</tr>
		    	<!-- 
		    	<tr>
		    		<td><div class="form_input_value" style="margin-right: 8px;">申请时间</div></td>
		    		<td>
		    			<input readonly="readonly" style="margin: 0px;" name="objctForm.entryDate" type="text" class="dialogy_input3" value='<s:property value="objctForm.entryDate"/>'>
		    		</td>
		    		<td></td>
		    		<td></td>
		    	</tr>
		    	 -->
		    	<tr>
		    		<td colspan="4" align="left">
		    			<div style="margin-left: 50px;">试   用   期   工   作   总   结</div>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td colspan="4" ><div style="margin-left: 50px;">1、试用期本人工作职责、工作目标及业绩表现自述：</div></td>
		    	</tr>
		    	<tr>
		    		<td colspan="4">
		    			<div style="margin-left: 50px;">
		    				<textarea rows="5" cols="50" id="trialPeriodDuty" name="objctForm.trialPeriodDuty" class="required"><s:property value="objctForm.trialPeriodDuty"/></textarea>
		    			</div>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td colspan="4"><div style="margin-left: 50px;">2、试用期本人收获、需继续加强的方面、及其他体会的总结：</div></td>
		    	</tr>
		    	<tr>
		    		<td colspan="4">
		    			<div style="margin-left: 50px;">
		    				<textarea rows="5" cols="50" id="trialPeriodTaste" name="objctForm.trialPeriodTaste" class="required"><s:property value="objctForm.trialPeriodTaste"/></textarea>
		    			</div>
		    		</td>
		    	</tr>
		    	<tr>
				<td></td>
				<td  class="dialogy_btn_td" >
					<s:if test="null==objctForm.id || ''.equals(objctForm.id)">
						<input id="editSubmit" type="button" value="申请" class="btn" onmouseout="this.className='btn'" onmousedown="this.className='btn1'" onmouseover="this.className='btn2'">
					</s:if>
					<s:else>
						<input id="editSubmit" type="button" value="修改" class="btn" onmouseout="this.className='btn'" onmousedown="this.className='btn1'" onmouseover="this.className='btn2'">
					</s:else>
					<input type="button" value="取消" class="btn" onclick="hideDialog();" onmouseout="this.className='btn'" onmousedown="this.className='btn1'" onmouseover="this.className='btn2'">
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>

</body>
<script>

	/* 表单提交 */
	i.formSubmit("editSubmit",	//绑定的按钮id
					  "editForm" ,   //提交的表单id
					  function(result){
						  	var jsonMsgObj=new JsonMsgObj(result);
							var  msg=jsonMsgObj.getMessage();
						    var codeId=jsonMsgObj.getCodeid();
							var isOk=jsonMsgObj.getIsok();
							if( isOk ){
							    aerouiAlert(msg);
								hideDialog();// 隐藏窗口
								loadContentLink('<%=basePath %>becomeRegular/becomeRegularAction!becomeRegularList.action');
							}else{		// 如果编辑失败了
							  JsManageInfoHandleException( result , function(msg , codeId , isOk){
							  		hideDialog();// 隐藏窗口
							   });
						   }
						});

</script>
